Add Contact Approval Callback
-
Purpose:
Processes new contact approval events. -
Functionality:
Logs the details of the incoming contact request and automatically approves it by returningtrue
. -
Usage:
Automatically manages contact addition without requiring user interaction. -
Example:
addContactApprovalCallback: async (model) => {
console.debug(`Add contact approval:\n${JSON.stringify(model, null, 2)}`);
return true;
},